/**
 * 框架依赖加载库
 */
import Vue from 'vue'
/**
 * 内置
 */
import $uses from './use.js'
import $prototype from './prototype.js'

//路由启动
import router from '../router/main'

import func from "../common/func.js"

Vue.prototype.$func = func;

import config from '../../config/config.js'
Vue.prototype.$config = config;


//挂载导入
const load = () => {
	$uses(Vue);
	$prototype(Vue);
	return Vue
}

Vue.config.productionTip = false
export default {
	load,
	router
}
